package com.feng.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: 丰
 * @date: 2022/12/15 11:44
 */
@Data
@ApiModel("产品视图类")
public class ProductVo {
    @ApiModelProperty(name = "id")
    private Integer id;
    @ApiModelProperty(hidden = true)
    private String createTime;
    @ApiModelProperty(hidden = true)
    private String updateTime;
    @ApiModelProperty(hidden = true)
    private Integer enable;

    @ApiModelProperty(name = "显示状态（1：推荐）", example = "1")
    private Integer state;
    @ApiModelProperty(name = "名称", example = "重岳")
    private String name;
    @ApiModelProperty(name = "价格", example = "43.5")
    private BigDecimal price;
    @ApiModelProperty(name = "市场价", example = "65")
    private BigDecimal marketPrice;
    @ApiModelProperty(name = "图片", example = "")
    private String picture;
    @ApiModelProperty(name = "描述", example = "好用")
    private String description;
    @ApiModelProperty(hidden = true)
    private Integer categoryId;
}
